package tgc.edu.tms.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.tms.custom.CommonService;
import tgc.edu.tms.entity.Location;
import tgc.edu.tms.repository.LocationRepository;
@Service
public class LocationService extends CommonService<Location, Integer>{
	@Autowired
	private LocationRepository locationDAO;

	public Location findByName(String locationName) {
		return locationDAO.findByName(locationName);
	}
}
